﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;

namespace DXWindowsApplication2
{
    public partial class NhanVien : UserControl
    {
        public NhanVien()
        {
            InitializeComponent();
        }

        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            ReportDocument cryRpt = new ReportDocument();
            cryRpt.Load(@"D:\Phan Mem Hoc Tap\VB.net\C#\QuanLyNhanVien\DXWindowsApplication2\DXWindowsApplication2\DXWindowsApplication2\DSNhanVien.rpt");
            crystalReportViewer1.ReportSource = cryRpt;
            crystalReportViewer1.Refresh();
            //cryRpt.Load(@"C:\Users\Phuong honey\Desktop\c#\Winform 2\bai tap\ThongkeNV\ThongkeNV\PB.rpt");
        }
    }
}
